package TransactionImplementation

//添加受薪员工
//引入类
import (
	"SalaryPayment/AbstractTransaction"
	"SalaryPayment/Model"
	"SalaryPayment/ModelImplementation"
)

//结构体
type AddSalariedEmployee struct {
	AbstractTransaction.AddEmployeeTransaction
	itsSalary float64
}

//支付分类
func (ace *AddSalariedEmployee) GetClassification() Model.PaymentClassification {
	//返回每小时分类
	return ModelImplementation.NewSalariedClassification(ace.itsSalary)
}

//付款时间表
func (ace *AddSalariedEmployee) GetSchedule() Model.PaymentSchedule {
	//返回每月时间表
	return ModelImplementation.MonthlySchedule{}
}

